package com.higold.cloud.mvp.contract

import com.higold.cloud.base.IBaseView
import com.higold.cloud.base.IPresenter
import com.higold.cloud.mvp.model.bean.AchieveBean

/**
 *    author : lxz
 *    date   : 2019/8/28 9:37
 *    desc   :
 */
interface AchieveContract {

    interface View : IBaseView {
        /**
         * 设置 AchieveInfo
         */
        fun setAchieveInfo(achieveBean: AchieveBean)

        fun showError(errorMsg: String, errorCode: Int)
    }


    interface Presenter : IPresenter<View> {
        /**
         * 获取 AchieveInfo
         */
        fun getAchieveInfo(type : Int)
    }
}